-- card: 2808 from stack: in.6 -- bmap block id: 0 -- flags: 0000 -- background id: 3411 -- name: Trouble Shooting ----- HyperTalk script ----- on closeCard end closeCard -- part 1 (button) -- low flags: 00 -- high flags: 0001 -- rect: left=16 top=88 right=297 bottom=198 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: -- part 2 (field) -- low flags: 01 -- high flags: 2000 -- rect: left=20 top=75 right=291 bottom=493 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 0 -- font id: 3 -- text size: 10 -- style flags: 0 -- line height: 13 -- part name: -- part 3 (button) -- low flags: 00 -- high flags: 0000 -- rect: left=11 top=4 right=64 bottom=78 -- title width / last selected line: 0 -- icon id / first selected line: 2 / 2 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Trouble Shooting -- part contents for background part 21 ----- text ----- Trouble Shooting -- part contents for background part 30 ----- text ----- 24 -- part contents for card part 2 ----- text ----- ShowDialog supports a full range of error codes. If you pass an incorrect number of parameters or if some of your parameter values are inappropriate, ShowDialog will exit gracefully with a beep without displaying a dialog. If you find this happening, debug your script with the line: "put the result" immediately following the line containing the call to ShowDialog. This will load the error message into the message box. These messages should be fully understandable. If you find that your dialog appears at a spot on the screen and then immediately jumps to the position that you specified in the parameter list (or jumps to center itself) it is because you neglected to UNCHECK the "visible" checkbox on the DLOG template. Also, for dialogs that have a title bar, remember that these dialogs must NOT have a go away box! Be sure to UNCHECK the "GoAwayFlag" checkbox on the DLOG template.